package com.spring.aop.demo1;

import org.junit.Test;

public class SpringDemo1 {
    @Test
    public void demo1 () {
        UserDao userDao = new UserDaoImpl();
        UserDao proxy = (UserDao) new MyJdkProxy(userDao).createProxy();

        proxy.find();
        proxy.save();
        proxy.update();
        proxy.delete();
    }
}
